package com.goldgov.commylog.service;

import java.util.List;


public interface CommylogService {
	Commylog getCommylogID();
	
	String addCommylog(Commylog obj);
	
	int deleteCommylog(String[] ids);
	
	int updateCommylog(Commylog obj);
	
	void preUpdateCommylogByAdmin(Commylog obj);
	
	void updateCommylogByAdmin(Commylog obj);
	
	Commylog getCommylog(String id);
	
	List<Commylog> listCommylog(CommylogQuery query);
	
	List<Commylog> listCommylogByAdmin(CommylogQuery query);
	
	void updateCommylogByID(Commylog obj);
	
	Commylog getUserInfo(String userID);
	/**
	 * 查询机构下用户
	 * @param query
	 * @return
	 */
	List<Commylog> findOrgUser( CommylogQuery query);
	List<StatisticsCommylogBean> statisticsTxl( StatisticsCommylogQuery query);
	List<StatisticsCommylogBean> statisticsTxlZB( StatisticsCommylogQuery query);
	List<StatisticsCommylogBean> statisticsSyl( StatisticsCommylogQuery query);
	List<StatisticsCommylogBean> statisticsSylZB( StatisticsCommylogQuery query);
	/**
	 * 查询下一级组织日志数量
	 * @date 2018年12月12日 下午4:41:28 
	 * @author hanxiangyu
	 * @param query
	 * @return
	 */
	List<StatisticsCommylogBean> findOrgCommylogNum(StatisticsCommylogQuery query);
	
}